using System;
using System.Net.Http;
namespace face{
    class FaceProxy{
        public static string host="http://localhost:18001";
        public static string wsHost = "ws://localhost:11234" ;
        public static bool startOne2Many(){
            HttpClient client = new HttpClient(new HttpClientHandler());
            var result = client.PostAsync(host + "/api/start_one2many",null).Result.Content.ReadAsStringAsync().Result;
            Console.WriteLine(result);
            if(result.IndexOf("result:")==0){
                return true;
            }
           return false; 
        } 
    }
}